package com.hospital.mapper;

import com.hospital.pojo.Ksb;
import com.hospital.pojo.KsbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface KsbMapper {
    long countByExample(KsbExample example);

    int deleteByExample(KsbExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Ksb record);

    int insertSelective(Ksb record);

    List<Ksb> selectByExample(KsbExample example);

    Ksb selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Ksb record, @Param("example") KsbExample example);

    int updateByExample(@Param("record") Ksb record, @Param("example") KsbExample example);

    int updateByPrimaryKeySelective(Ksb record);

    int updateByPrimaryKey(Ksb record);
}